package com.archermind.nfc.client.service;

import com.archermind.nfc.common.model.Message;

public interface IService {

	/**
	 * max time to wait reply message
	 */
	public static final int MAX_WAIT_TIMEOUT = 3000;

	/**
	 * send message to host
	 * 
	 * @param message
	 */
	public void sendMessage(Message message);

	/**
	 * wait reply message, will return null if timeout to get reply message
	 * 
	 * @param message
	 * @return reply message
	 */
	public Message waitMessage(Message message);

}
